﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/TwoColumn2.master" AutoEventWireup="true" 
    Inherits="NopSolutions.NopCommerce.Web.OrderWizard" CodeBehind="OrderWizard.aspx.cs" EnableEventValidation="false"  %> 

<%@ Register TagPrefix="nopCommerce" TagName="OrderSummary" Src="~/Modules/OrderSummary.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="OrderProgress" Src="~/Modules/OrderProgress.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="CheckoutShippingAddress" Src="~/Modules/CheckoutShippingAddress.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="CheckoutShippingMethod" Src="~/Modules/Delivery.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="CheckoutPaymentInfo" Src="~/Modules/CheckoutPaymentInfo.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="PaymentType" Src="~/Modules/PaymentType.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="Server">

    <nopCommerce:OrderProgress ID="OrderProgressControl" runat="server" OrderProgressStep="Cart" />

    <asp:Panel ID="pnlShoppingCart" runat="server">
      <div class="shoppingcart-page">
          <div class="body">
              <nopCommerce:OrderSummary ID="OrderSummaryControl" runat="server" IsShoppingCart="true">
              </nopCommerce:OrderSummary>
          </div>
      </div>
    </asp:Panel>

    <asp:Panel ID="pnlAddress" runat="server">
      <div class="checkout-page">
        <div class="clear">
        </div>
        <nopCommerce:CheckoutShippingAddress ID="ctrlCheckoutShippingAddress" runat="server" />
        <div class="clear">
        </div>
      </div>
    </asp:Panel>

    <asp:Panel ID="pnlShipping" runat="server">
      <div class="shoppingcart-page">
        <div class="body">
            <nopCommerce:OrderSummary ID="OrderSummaryControl1" runat="server" IsShoppingCart="false">
            </nopCommerce:OrderSummary>
        </div>
      </div>
      <div class="checkout-page">
        <div>
            <span style="color:#0069BD; font-weight: bold;">Пожалуйста выберите способ доставки</span>
        </div>
        <div class="clear">
        </div>
        <nopCommerce:CheckoutShippingMethod ID="ctrlCheckoutShippingMethod" runat="server" />
        <div class="clear">
        </div>
      </div>
      <div>
        <asp:Label runat="server" ID="lblError" EnableViewState="false" CssClass="error" />
      </div>
      <div class="checkout-buttons">
        <asp:Button ID="btnBackShipping" OnClick="btnBackShipping_Click" runat="server"
                Text="" CssClass="backcheckoutbutton" />
        <asp:Button runat="server" ID="btnNextStepShipping" Text=""
                OnClick="btnNextStepShipping_Click" CssClass="checkoutbutton" ValidationGroup="EnterShippingMethod" />
      </div>  
    </asp:Panel>

    <asp:Panel ID="pnlPaymentType" runat="server">
      <div class="shoppingcart-page">
        <div class="body">
            <nopCommerce:OrderSummary ID="OrderSummaryControl2" runat="server" IsShoppingCart="false">
            </nopCommerce:OrderSummary>
        </div>
      </div>
      <div class="checkout-page">
        <div>
            <span style="color:#0069BD; font-weight: bold;">Пожалуйста выберите способ оплаты</span>
        </div>
        <div class="clear">
        </div>
        <nopCommerce:PaymentType ID="PaymentTypeControl" runat="server" />
        <div class="clear">
        </div>
      </div>
      <div>
        <asp:Label runat="server" ID="lblError1" EnableViewState="false" CssClass="error" />
      </div>
      <div class="checkout-buttons">
        <asp:Button ID="btnBackPayment" OnClick="btnBackPayment_Click" runat="server"
                Text="" CssClass="backcheckoutbutton" />
        <asp:Button runat="server" ID="btnNextStepPayment" Text=""
                OnClick="btnNextStepPayment_Click" CssClass="applybutton" ValidationGroup="EnterPaymentType" />
      </div>  
    </asp:Panel>
</asp:Content>
